package com.projetosi.web.client;

import com.extjs.gxt.ui.client.widget.Info;
import com.extjs.gxt.ui.client.widget.Viewport;
import com.extjs.gxt.ui.client.widget.layout.BorderLayout;
import com.extjs.gxt.ui.client.widget.layout.FitLayout;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootLayoutPanel;

public class TelaInicial2 implements EntryPoint {

	@Override
	public void onModuleLoad() {
		Info.display("Message", "Voce esta logado!", "");  
		final Viewport v = new Viewport();
		v.setLayout(new FitLayout());

		TelaInicial mf = new TelaInicial();
		mf.setLayout(new BorderLayout());
		v.add(mf);

		RootLayoutPanel.get().add(v);
	}

}
